@extends('admin.layout')

@section('content')
<div class="console-content">
    <div class="page-header">
        <h2 id="nav">基本设置</h2>
    </div>
    <div class="well bs-component">
        <form action="" accept-charset="UTF-8" method="post" class="form-horizontal">

            <div class="form-group">
                <label for="service_year" class="col-sm-2 control-label">*代理授权期限</label>
                <div class="col-sm-6">
                    <input type="text" name="service_year" id="service_year" class="form-control" value="{{ isset($config) ? $config['service_year'] : 1 }}">
                </div>
                <label class="control-label">年</label>
            </div>

            <div class="form-group">
                <label for="share_expire" class="col-sm-2 control-label">*分享链接过期时间</label>
                <div class="col-sm-6">
                    <input type="text" name="share_expire" id="share_expire" class="form-control" value="{{ isset($config) ? $config['share_expire'] : 60 }}">
                </div>
                <label class="control-label">分钟</label>
            </div>

            <div class="form-group">
                <div class="col-lg-8 col-lg-offset-2">
                    <input type="submit" class="btn btn-success" value="提交">
                </div>
            </div>
        </form>

    </div>
</div>
@endsection